#include "A.h"
#include "B.h"
#include <conio.h>
void show(A *a)
{
	a->x();
}
void main(){
	A *a = new A();
	show(a);
	B *b = new B();
	show(b);
	_getch();
}
